package com.ccc.demoboot.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ccc.demoboot.pojo.Storage;
import com.ccc.demoboot.dao.StorageMapper;
import com.ccc.demoboot.service.StorageService;

/**
 * @Author wz
 * @Date 2024/6/25 8:39
 * @PackageName:com.ccc.demoboot.service
 * @ClassName: StorageServiceImpl
*/
@Service
public class StorageServiceImpl extends ServiceImpl<StorageMapper, Storage> implements StorageService{

    @Override
    public List<Map<String, Object>> selectAllStorage(QueryWrapper queryWrapper,int status,int applyuserid) {
        return this.baseMapper.selectAllStorage(queryWrapper,status,applyuserid);
    }

    @Override
    public Map<String, Object> selectOne(int id) {
        return this.baseMapper.selectOne(id);
    }
}
